﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MasterPage.Master" Inherits="System.Web.Mvc.ViewPage<FrasesSimpsonsMvc.Models.Frases>" %>
<%@ Import Namespace="FrasesSimpsonsMvc.Views" %>

<asp:Content ID="Head" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Title" ContentPlaceHolderID="TitleContent" runat="server">Borrar frase</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="MainContent" runat="server">
	<% Html.RenderPartial("SearchCleanUserControl"); %>

	<div class="row-responsive">
		<ul class="breadcrumb">
			<li>
				<a href="<%= Url.Action("Index", "Home") %>">Home</a> <span class="divider">/</span>
			</li>
			<% if (Model.Capitulos != null) { %>
			<li>
				<span class="label label-success tall"><a class="label-link" href="<%= Url.Action("Detail", "Temporada", new { Id = Model.Capitulos.Temporadas.Id}) %>">Temporada <%= Model.Capitulos.Temporadas.Numero %></a></span> <span class="divider">/</span>
			</li>
			<li>
				<span class="label label-inverse tall"><a class="label-link" href="<%= Url.Action("Detail", "Capitulo", new { Id = Model.Capitulos.Id }) %>">Capítulo <%= Model.Capitulos.Numero %></a></span> <span class="divider">/</span>
			</li>
			<% } %>
			<li>
				<a href="<%= Url.Action("Detail", "Frase", new { Id = Model.Id} ) %>"><%= Model.DescripcionCorta %></a> <span class="divider">/</span>
			</li>
			<li class="active">Confirmar borrar</li>
		</ul>
	</div>

	<div class="row-responsive well">
		<h1><%= Model.DescripcionCorta %></h1>
		<h3 class="top-space">¿Esta seguro que desea borrar esta frase?</h3>

		<blockquote class="top-space">
			<%= Model.Descripcion %>
		</blockquote>

		<form class="top-space" action="<%= Url.Action("ConfirmDelete", "Frase") %>" method="post">
			<input type="hidden" name="id" value="<%= Model.Id %>" />
			<%= Html.GenerateCaptcha() %>
			<input class="btn btn-danger btn-large top-space" type="submit" value="Confirmar" />
		</form>

	</div>

</asp:Content>
